/* 通用样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
ul {
	list-style: none;
}

/* 全局变量和公共样式 */
.w {
	width: var(--w);
	margin: 0 auto;
}

.tongan {
	min-width: var(--w);
}

:root {
	--w: 1230px;
	--h: 600px;
	--primary-color: #666;
	--secondary-color: #80c2cc;
	--accent-color: #ff6700;
	--light-gray: #f5f5f5;
	--medium-gray: #e0e0e0;
	--dark-gray: #333;
	--font-family: 'Open Sans', sans-serif;
}

html {
	scroll-behavior: smooth;
	background-color: var(--light-gray);
	font-family: var(--font-family);
}

/* 头部样式 */
.top-bar {
	height: 40px;
	background: linear-gradient(to bottom, var(--primary-color), #555);
	display: flex;
	align-items: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

.top-nav-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}

/* 导航条左边 */
.top-nav-left {
	height: 100%;
	margin: 0 20px;
	float: left;
}

.top-nav-left>ul {
	height: 100%;
	display: flex;
}

.top-nav-left>ul>li {
	display: inline-block;
}

.top-nav-left a {
	line-height: 40px;
	text-decoration: none;
	color: var(--secondary-color);
	font-size: 14px;
	margin: 0 10px;
	transition: color 0.3s ease;
}

.top-nav-left a:hover {
	color: var(--accent-color);
}

/* 导航条右边 */
.top-nav-right {
	height: 100%;
	float: right;
	margin: 0 20px;
}

.top-nav-right>ul {
	height: 100%;
	display: flex;
	align-items: center;
}

.top-nav-right>ul>li {
	display: inline-block;
	position: relative;
	vertical-align: middle;
	color: var(--secondary-color);
}

.top-nav-right a {
	line-height: 40px;
	text-decoration: none;
	color: var(--secondary-color);
	font-size: 14px;
	transition: color 0.3s ease;
}

.top-nav-right a:hover {
	color: var(--accent-color);
}

.top-nav-right>ul>span {
	display: inline-block;
	height: 20px;
	border-left: 1px solid var(--dark-gray);
	margin: 0 10px;
	vertical-align: middle;
}

.right-img {
	width: 180px;
	position: absolute;
	border: 1px solid var(--medium-gray);
	top: 100%;
	left: -50%;
	display: none;
	box-sizing: border-box;
	background-color: #fff;
	text-align: center;
	z-index: 99;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 10px;
	transition: opacity 0.3s ease;
}

.top-nav-right img {
	width: 80%;
	height: auto;
	margin-top: 10px;
}

.top-nav-right p {
	font-size: 12px;
	line-height: 160%;
}

.top-nav-right>ul>li:hover div {
	display: block;
}


.list-title:hover div {
	display: block;
}

div.list-wrapper {
	position: absolute;
	top: 100%;
	right: -10%;
	width: 300px;
	background-color: #fff;
	z-index: 10000;
	display: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 10px;
	transition: opacity 0.3s ease;
}

.list-wrapper img {
	width: 30%;
	height: 30%;
	float: left;
}

.list-wrapper>div>span {
	overflow: hidden;
	text-align: left;
	display: block;
	margin-bottom: 30px;
}

ul.list {
	z-index: 10000000;
	text-align: center;
	padding: 0;
}

ul.list>li {
	font-size: 0;
}

ul.list>li>span {
	display: inline-block;
	border: none;
	vertical-align: top;
	margin-left: 20px;
	margin-top: 20px;
	font-size: 14px;
}

ul.list>li>a {
	display: block;
	color: var(--dark-gray);
	width: 100%;
	height: 100%;
	transition: background-color 0.3s ease;
}

ul.list>li>a:hover {
	background-color: var(--medium-gray);
}

/* 第二部分 */
.nav-bar {
	height: 80px;
	background-color: #fff;
	position: relative;
	box-sizing: border-box;
	padding: 20px 0;
	margin-top: 40px;
}

/* logo */
.nav-logo {
	height: 80%;
	width: auto;
	float: left;
}

.nav-logo img {
	height: 50px;
	width: 116px;
	background-size: auto 50px;
	margin-left: 20px;
}

/* 搜索框 */
.search {
	float: right;
	margin-top: 10px;
}

.search>input {
	height: 20px;
	width: 150px;
}

/* 一级菜单 */
.menu-wrapper-left {
	float: left;
	height: 50px;
}

.menu-wrapper-left>ul {
	height: 100%;
	box-sizing: border-box;
	margin-left: 20px;
}

.menu-wrapper-left>ul>li {
	display: inline-block;
	padding: 10px 0;
	text-align: center;
}

.menu-wrapper-left>ul>li:hover {
	border-bottom: 5px solid var(--accent-color);
	color: var(--accent-color);
}

.menu-wrapper-left>ul>li>a:hover {
	color: var(--accent-color);
}

.menu-wrapper-left a {
	display: block;
	margin: 0 10px;
	font-size: 14px;
	text-decoration: none;
	color: var(--dark-gray);
}

.menu-wrapper-left div {
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	height: 0;
	overflow: hidden;
	background-color: #fff;
	transition-property: height, border;
	transition-duration: 0.2s;
}

/* 二级菜单 */
ul.menu-main {
	font-size: 0;
	height: 0;
	box-sizing: border-box;
	z-index: 2;
}

ul.menu-main>li {
	width: calc(100% / 5);
	box-sizing: border-box;
	display: inline-block;
	background-color: #fff;
}

ul.menu-main>li>a>p {
	font-size: 10px;
	color: var(--dark-gray);
}

ul.menu-main>li>a>img {
	height: auto;
	width: 60%;
}

.menu-wrapper-left>ul>li:hover>div {
	height: 200px;
	border: 1px solid var(--medium-gray);
	border-top: none;
	z-index: 1;
}

.menu-wrapper-right {
	float: right;
	height: 50px;
	margin-right: 10px;
}

.menu-wrapper-right>ul {
	height: 100%;
	box-sizing: border-box;
	margin-left: 20px;
}

.menu-wrapper-right>ul>li {
	display: inline-block;
	padding: 10px 0;
	text-align: center;
}

.menu-wrapper-right>ul>li:hover {
	color: var(--accent-color);
}

.menu-wrapper-right>ul>li>a:hover {
	color: var(--accent-color);
}

.menu-wrapper-right a {
	display: block;
	margin: 0 10px;
	font-size: 12px;
	text-decoration: none;
	color: var(--dark-gray);
}

.menu-wrapper-right>ul::before {
	content: "";
	height: 100%;
	border: 1px solid var(--medium-gray);
	margin-right: 5px;
}

.list-title-wrapper {
	background-color: var(--light-gray);
	height: 40px;
}

.list-title {
	line-height: 40px;
	font-size: 14px;
}

.list-title a {
	color: var(--dark-gray);
	text-decoration: none;
	transition: color 0.3s ease;
}

.list-title a:hover {
	color: var(--accent-color);
}

.menu-sub-wrapper {
	font-size: 0;
	padding: 20px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.menu-sub-left {
	display: inline-block;
	width: 600px;
	vertical-align: top;
	box-sizing: border-box;
	padding: 20px;
}

.img-main {
	width: 100%;
	aspect-ratio: 1/1;
	font-size: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.img-main>img {
	height: 100%;
	width: 100%;
	margin-bottom: 10px;
}

.img-list-wrapper {
	width: 100%;
	height: 92px;
	margin-top: 20px;
}

.img-list-wrapper>span {
	padding: 30px 20px;
}

span.prev {
	float: left;
	margin-right: 10px;
}

span.next {
	float: right;
	margin-left: 10px;
}

.img-list-wrapper>span>i {
	font-size: 30px;
}

.img-list {
	overflow: hidden;
	height: 100%;
}

.img-list>ul {
	height: 100%;
	width: 92px;
	white-space: nowrap;
	aspect-ratio: 1/1;
	font-size: 0;
	padding-right: 10px;
	transition: all 0.2s;
}

.img-list>ul>li {
	display: inline-block;
	height: 100%;
	width: 100%;
	margin-right: 10px;
	box-sizing: border-box;
	padding: 3px;
	border: 1px solid transparent;
}

.img-list>ul>li.active {
	border: 1px solid var(--accent-color);
}

.img-list>ul>li>img {
	height: 100%;
	width: 100%;
}

.menu-sub-right {
	display: inline-block;
	width: calc(100% - 600px);
	vertical-align: top;
	box-sizing: border-box;
	padding: 20px;
}

.menu-sub-top {
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.menu-sub-top>h5 {
	font-size: 29px;
	margin-bottom: 20px;
	color: var(--dark-gray);
}

.menu-sub-top>span {
	font-size: 12px;
	color: rgba(0, 0, 0, 0.3);
}

.menu-sub {
	margin-top: 20px;
	font-size: 0;
	text-align: justify;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.menu-sub>p {
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	color: var(--dark-gray);
}

.menu-sub>p>span {
	color: var(--accent-color);
}

.menu-sub>div {
	display: inline-block;
	position: relative;
}

.menu-sub>div>p {
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	text-decoration: line-through;
	color: var(--dark-gray);
}

.menu-sub>div>div {
	display: inline-block;
}

.menu-sub>div>div>img {
	margin: 0 5px;
}

span.qrcode {
	display: inline-block;
	color: var(--dark-gray);
	font-size: 16px;
	font-weight: 600;
}

.menu-sub>div>div>div>img {
	display: none;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
}

.menu-sub::after {
	content: "";
	display: inline-block;
	width: 100%;
}

.menu-sub-bottom {
	margin-top: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.menu-sub-bottom>input {
	width: 60px;
	height: 60px;
	font-size: 20px;
	box-sizing: border-box;
	padding: 30px 15px;
	vertical-align: top;
}

.menu-sub-bottom>div {
	display: inline-block;
	padding: 14px 10px;
	border: 1px solid rgba(0, 0, 0, 0.6);
	vertical-align: top;
}

.menu-sub-bottom>div>i {
	display: block;
}

.menu-sub-bottom>button {
	width: 200px;
	height: 60px;
	margin-left: 20px;
	color: var(--accent-color);
	background-color: transparent;
	border: 1px solid var(--accent-color);
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-sub-bottom>button:hover {
	background-color: var(--accent-color);
	color: #fff;
}

.menu-sub-foot>div {
	margin-top: 20px;
}

.menu-sub-foot>div>p {
	font-size: 12px;
	display: inline-block;
	color: var(--medium-gray);
}

.menu-sub-foot>div>span {
	font-size: 12px;
	color: var(--medium-gray);
	margin: 0 5px;
}

.menu-sub-foot>div>select {
	min-width: 40px;
	color: var(--medium-gray);
}

.imgs-wrapper {
	position: sticky;
	top: 0;
	background-color: #fff;
}

.imgs-wrapper>ul {
	width: 400px;
	margin: 0 auto;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.imgs-wrapper>ul>li {
	display: inline-block;
	line-height: 60px;
	margin: 0 10px;
}

.imgs-wrapper>ul>li>a {
	text-decoration: none;
	color: var(--dark-gray);
	transition: color 0.3s ease;
}

.imgs-wrapper>ul>li>a:hover {
	color: var(--accent-color);
}

.imgs-wrapper>ul>li>span {
	display: inline-block;
	line-height: 60px;
	height: 10px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	margin-left: 5px;
}

.imgs-wrapper>ul>li.show>a {
	color: var(--accent-color);
	border-bottom: 2px solid var(--accent-color);
}

.images {
	display: inline-block;
	margin-top: 2px;
	text-align: center;
	font-size: 0;
	width: 100%;
}

.images>img {
	width: 750px;
	height: auto;
	margin-bottom: 20px;
}

.images_title>ul {
	width: 500px;
	margin: 0 auto;
	height: 60px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
	display: flex;
	justify-content: center;
	align-items: center;
}

.images_title>ul>li {
	display: inline-block;
	line-height: 60px;
	margin-left: 14px;
}

.images_title>ul>li>span {
	display: inline-block;
	line-height: 60px;
	height: 10px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	margin-left: 10px;
}

.images_title>ul>li.show {
	color: var(--accent-color);
}

.image {
	margin-top: 2px;
	text-align: center;
	font-size: 0;
	width: 100%;
}

.image>img {
	width: 750px;
	height: auto;
	margin-bottom: 20px;
}

.title {
	display: inline-block;
	width: 100%;
	text-align: center;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
	margin-bottom: 20px;
}

.title>h6 {
	font-size: 20px;
	font-weight: 400;
	color: var(--dark-gray);
}

.bottom {
	display: inline-block;
	margin-right: 60px;
	vertical-align: text-top;
	margin-top: 10px;
}

.bottom-wrapper {
	margin-top: 200px;
	background-color: var(--medium-gray);
	padding: 30px 0;
	display: flex;
	justify-content: center;
}

.bottom h4 {
	font-size: 14px;
	color: var(--dark-gray);
	margin-bottom: 10px;
}

.bottom a {
	text-decoration: none;
	color: var(--dark-gray);
	font-size: 12px;
	transition: color 0.3s ease;
}

.bottom a:hover {
	color: var(--accent-color);
	text-decoration: underline;
}

.bottom li {
	font-size: 12px;
	margin-bottom: 5px;
}

.bottom>div {
	height: 120px;
	width: 120px;
	margin-left: -10px;
	margin-top: 10px;
}

.bottom img {
	width: 80%;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bottom p {
	margin-top: 20px;
	font-size: 10px;
	color: #b0b0b0;
}

.bottom button {
	width: 100px;
	height: 40px;
	color: var(--dark-gray);
	margin-top: 20px;
	font-size: 12px;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.bottom button:hover {
	background-color: var(--medium-gray);
}

.bottom-last {
	margin-left: 60px;
	margin-right: 0;
}

.ricker {
	height: 100px;
	position: fixed;
	bottom: 40px;
	right: 10px;
}

.ricker div {
	padding: 5px;
	border: 1px solid var(--dark-gray);
	margin-bottom: 2px;
	text-align: center;
	transition: background-color 0.3s ease;
}

.ricker div:hover {
	background-color: var(--medium-gray);
}

.ricker i {
	display: block;
	font-size: 30px;
	color: var(--dark-gray);
}

.ricker a {
	margin-top: 5px;
	color: var(--dark-gray);
	text-decoration: none;
	font-size: 12px;
}

.foot {
	font-size: 0;
}

iframe {
	width: 100%;
	height: 60px;
	border: none;
}

/* 评论区域样式 */
.comment-wrapper {
	background-color: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.comment-filter {
	margin-bottom: 20px;
}

.filter-btn {
	background-color: #f5f5f5;
	border: none;
	padding: 10px 20px;
	margin-right: 10px;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.filter-btn.active {
	background-color: #ff6600;
	color: white;
}

.filter-btn:hover {
	background-color: #ff9900;
}

.comment-item {
	border: 1px solid #e0e0e0;
	padding: 15px;
	margin-bottom: 15px;
	border-radius: 4px;
	background-color: #f9f9f9;
}

.comment-user {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.comment-user-avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	margin-right: 10px;
}

.comment-user-name {
	font-weight: bold;
}

.comment-rating {
	font-weight: bold;
	color: #ff6600;
	margin-bottom: 5px;
}

.comment-content {
	line-height: 1.6;
}

.comment-form {
	margin-top: 20px;
}

.comment-form h4 {
	margin-bottom: 10px;
}

#comment-textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	resize: vertical;
	margin-bottom: 10px;
}

#rating-select {
	padding: 10px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	margin-right: 10px;
}

#submit-comment-btn {
	background-color: #ff6600;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

#submit-comment-btn:hover {
	background-color: #ff9900;
}

.rating-statistics {
	margin-top: 10px;
	margin-bottom: 10px;
}

.rating-statistics span {
	margin-right: 20px;
}

button:disabled {
	cursor: not-allowed;
	opacity: 0.7;
}
